<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="UTF-8"%>
<html>
<head>
    <link href="/js/jquerydatatable/css/jquery.dataTables.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/zui-1.8.1-dist/css/zui.min.css">
    <link rel="stylesheet" href="/zui-1.8.1-dist/ztree/css/zTreeStyle/zTreeStyle.css" />
    <link href="/zui-1.8.1-dist/lib/uploader/zui.uploader.min.css" rel="stylesheet">
</head>
<style>
    h1 {
        padding: 0;
        margin: 0 8px;
        font-size: 29px;
        color: #2679b5;
    }
    .table-header {
        background-color: #307ecc;
        color: #FFF;
        font-size: 14px;
        line-height: 38px;
        padding-left: 12px;
    }
    .table-bordered td{
        text-align:center;
    }
    table{
        font-size:12px;
    }
</style>
<body>
<h2>Hello World22222!</h2>

<%--<div class="row" style="margin-top:5px;overflow:scroll;height:650px;">--%>
    <%--<div id="upload" style="display:none">--%>
        <%--<div class="form-group" >--%>
            <%--<label  class="col-sm-2">图片文件上传</label>--%>
            <%--<div class="col-sm-9">--%>
                <%--<div id='uploaderPicture' class="uploader">--%>
                    <%--<div class="uploader-message text-center">--%>
                        <%--<div class="content"></div>--%>
                        <%--<button type="button" class="close">×</button>--%>
                    <%--</div>--%>
                    <%--<div class="uploader-files file-list file-list-lg" data-drag-placeholder="请拖拽文件到此处"></div>--%>
                    <%--<div class="uploader-actions">--%>
                        <%--<div class="uploader-status pull-right text-muted"></div>--%>
                        <%--<button type="button" class="btn btn-link uploader-btn-browse"><i class="icon icon-plus"></i> 选择文件</button>--%>
                        <%--<button type="button" class="btn btn-link uploader-btn-start"><i class="icon icon-cloud-upload"></i> 开始上传</button>--%>
                    <%--</div>--%>
                <%--</div>--%>
            <%--</div>--%>
        <%--</div>--%>

    <%--</div>--%>
<%--</div>--%>

<div id='uploaderExample2' class="uploader" data-ride="uploader" data-url="../uploadWetlandsExcel">
    <div class="uploader-message text-center">
        <div class="content"></div>
        <button type="button" class="close">×</button>
    </div>
    <div class="uploader-files file-list file-list-lg" data-drag-placeholder="请拖拽文件到此处"></div>
    <div class="uploader-actions">
        <div class="uploader-status pull-right text-muted"></div>
        <button type="button" class="btn btn-link uploader-btn-browse"><i class="icon icon-plus"></i> 选择文件</button>
        <button type="button" class="btn btn-link uploader-btn-start"><i class="icon icon-cloud-upload"></i> 开始上传</button>
    </div>
</div>

</body>

<script type="text/javascript" src="/zui-1.8.1-dist/lib/jquery/jquery.js"></script>
<script src="/js/homeinformation/tochange.js"></script>
<script type="text/javascript" src="/zui-1.8.1-dist/js/zui.min.js"></script>
<script src="/zui-1.8.1-dist/lib/tool/jquery.validate.js"></script>
<script src="/zui-1.8.1-dist/lib/uploader/zui.uploader.min.js"></script>




<%--<script src="/js/wetlandmanager/indexnew.js"></script>--%>
<script>
    $(function(){
        $('#uploaderExample2').uploader({
            autoUpload: false,            // 当选择文件后立即自动进行上传操作
            url: '../uploadWetlandsExcel', // 文件上传提交地址
            rename:false,
            renameExtension:false
        })
//上传
        /*$('#uploaderPicture').uploader({
            autoUpload: false,            // 当选择文件后立即自动进行上传操作
            url: '../addImage',  // 文件上传提交地址
            // multipart_params: {
            //     "wetlandParkId": id
            // },
            chunk_size:0,
            filters:{
                // 只允许上传图片或图标（.ico）
                mime_types: [
                    {title: '图片', extensions: 'jpg,gif,png'},
                ],
                // 最大上传文件为 1MB
                max_file_size: '5mb',
                // 不允许上传重复文件
                prevent_duplicates: true
            },
            resize:{
                crop: true,
                quuality: 80,
                preserve_headers: false
            },
            responseHandler: function(file,responseObject) {
                if(responseObject.remoteData==false) {
                    return '上传失败。服务器返回了一个错误：' + responseObject.response;
                }
            }
        });
    });*/




</script>

</html>